package com.highcom.mapper;

import com.highcom.pojo.User;

import java.util.List;

public interface UserMapper {
    //登录
    public User userLogin(User user);

    //查询所有
    public List<User> findUsers();

    //删除一条记录
    public void delUserById(int id);

    //查询一条记录
    public User FindUserById(int id);

    //修改一条记录
    public void modifyUser(User user);

    //添加一条记录
    public void addUser(User user);

    //模糊查询
    public List<User> findUsersLikeQuery(User user);
}
